﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001401 RID: 5121
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyHandlePendingActionCsReq : IMessage<TrainPartyHandlePendingActionCsReq>, IMessage, IEquatable<TrainPartyHandlePendingActionCsReq>, IDeepCloneable<TrainPartyHandlePendingActionCsReq>, IBufferMessage
	{
		// Token: 0x17004096 RID: 16534
		// (get) Token: 0x0600E55F RID: 58719 RVA: 0x002655EA File Offset: 0x002637EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyHandlePendingActionCsReq> Parser
		{
			get
			{
				return TrainPartyHandlePendingActionCsReq._parser;
			}
		}

		// Token: 0x17004097 RID: 16535
		// (get) Token: 0x0600E560 RID: 58720 RVA: 0x002655F1 File Offset: 0x002637F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyHandlePendingActionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004098 RID: 16536
		// (get) Token: 0x0600E561 RID: 58721 RVA: 0x00265603 File Offset: 0x00263803
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyHandlePendingActionCsReq.Descriptor;
			}
		}

		// Token: 0x0600E562 RID: 58722 RVA: 0x0026560A File Offset: 0x0026380A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionCsReq()
		{
		}

		// Token: 0x0600E563 RID: 58723 RVA: 0x00265614 File Offset: 0x00263814
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionCsReq(TrainPartyHandlePendingActionCsReq other) : this()
		{
			this.queuePosition_ = other.queuePosition_;
			TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase gcljepabaebcase = other.GCLJEPABAEBCase;
			if (gcljepabaebcase <= TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
			{
				if (gcljepabaebcase != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
				{
					if (gcljepabaebcase == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
					{
						this.MGEKAIONENB = other.MGEKAIONENB.Clone();
					}
				}
				else
				{
					this.EPPNHJCNFCI = other.EPPNHJCNFCI.Clone();
				}
			}
			else if (gcljepabaebcase != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
			{
				if (gcljepabaebcase == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
				{
					this.TrainPartyEvent = other.TrainPartyEvent.Clone();
				}
			}
			else
			{
				this.BMOCCJHIFAK = other.BMOCCJHIFAK.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E564 RID: 58724 RVA: 0x002656BF File Offset: 0x002638BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionCsReq Clone()
		{
			return new TrainPartyHandlePendingActionCsReq(this);
		}

		// Token: 0x17004099 RID: 16537
		// (get) Token: 0x0600E565 RID: 58725 RVA: 0x002656C7 File Offset: 0x002638C7
		// (set) Token: 0x0600E566 RID: 58726 RVA: 0x002656CF File Offset: 0x002638CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint QueuePosition
		{
			get
			{
				return this.queuePosition_;
			}
			set
			{
				this.queuePosition_ = value;
			}
		}

		// Token: 0x1700409A RID: 16538
		// (get) Token: 0x0600E567 RID: 58727 RVA: 0x002656D8 File Offset: 0x002638D8
		// (set) Token: 0x0600E568 RID: 58728 RVA: 0x002656F4 File Offset: 0x002638F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyEventPendingAction TrainPartyEvent
		{
			get
			{
				if (this.gCLJEPABAEBCase_ != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
				{
					return null;
				}
				return (TrainPartyEventPendingAction)this.gCLJEPABAEB_;
			}
			set
			{
				this.gCLJEPABAEB_ = value;
				this.gCLJEPABAEBCase_ = ((value == null) ? TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.None : TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent);
			}
		}

		// Token: 0x1700409B RID: 16539
		// (get) Token: 0x0600E569 RID: 58729 RVA: 0x0026570E File Offset: 0x0026390E
		// (set) Token: 0x0600E56A RID: 58730 RVA: 0x0026572A File Offset: 0x0026392A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ICMFJIEIEBM EPPNHJCNFCI
		{
			get
			{
				if (this.gCLJEPABAEBCase_ != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
				{
					return null;
				}
				return (ICMFJIEIEBM)this.gCLJEPABAEB_;
			}
			set
			{
				this.gCLJEPABAEB_ = value;
				this.gCLJEPABAEBCase_ = ((value == null) ? TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.None : TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI);
			}
		}

		// Token: 0x1700409C RID: 16540
		// (get) Token: 0x0600E56B RID: 58731 RVA: 0x00265744 File Offset: 0x00263944
		// (set) Token: 0x0600E56C RID: 58732 RVA: 0x00265760 File Offset: 0x00263960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HPIPKEEKBDO BMOCCJHIFAK
		{
			get
			{
				if (this.gCLJEPABAEBCase_ != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
				{
					return null;
				}
				return (HPIPKEEKBDO)this.gCLJEPABAEB_;
			}
			set
			{
				this.gCLJEPABAEB_ = value;
				this.gCLJEPABAEBCase_ = ((value == null) ? TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.None : TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK);
			}
		}

		// Token: 0x1700409D RID: 16541
		// (get) Token: 0x0600E56D RID: 58733 RVA: 0x0026577A File Offset: 0x0026397A
		// (set) Token: 0x0600E56E RID: 58734 RVA: 0x00265796 File Offset: 0x00263996
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public COAOOLIBOHF MGEKAIONENB
		{
			get
			{
				if (this.gCLJEPABAEBCase_ != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
				{
					return null;
				}
				return (COAOOLIBOHF)this.gCLJEPABAEB_;
			}
			set
			{
				this.gCLJEPABAEB_ = value;
				this.gCLJEPABAEBCase_ = ((value == null) ? TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.None : TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB);
			}
		}

		// Token: 0x1700409E RID: 16542
		// (get) Token: 0x0600E56F RID: 58735 RVA: 0x002657B0 File Offset: 0x002639B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase GCLJEPABAEBCase
		{
			get
			{
				return this.gCLJEPABAEBCase_;
			}
		}

		// Token: 0x0600E570 RID: 58736 RVA: 0x002657B8 File Offset: 0x002639B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearGCLJEPABAEB()
		{
			this.gCLJEPABAEBCase_ = TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.None;
			this.gCLJEPABAEB_ = null;
		}

		// Token: 0x0600E571 RID: 58737 RVA: 0x002657C8 File Offset: 0x002639C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyHandlePendingActionCsReq);
		}

		// Token: 0x0600E572 RID: 58738 RVA: 0x002657D8 File Offset: 0x002639D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyHandlePendingActionCsReq other)
		{
			return other != null && (other == this || (this.QueuePosition == other.QueuePosition && object.Equals(this.TrainPartyEvent, other.TrainPartyEvent) && object.Equals(this.EPPNHJCNFCI, other.EPPNHJCNFCI) && object.Equals(this.BMOCCJHIFAK, other.BMOCCJHIFAK) && object.Equals(this.MGEKAIONENB, other.MGEKAIONENB) && this.GCLJEPABAEBCase == other.GCLJEPABAEBCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E573 RID: 58739 RVA: 0x00265878 File Offset: 0x00263A78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.QueuePosition != 0U)
			{
				num ^= this.QueuePosition.GetHashCode();
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
			{
				num ^= this.TrainPartyEvent.GetHashCode();
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
			{
				num ^= this.EPPNHJCNFCI.GetHashCode();
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
			{
				num ^= this.BMOCCJHIFAK.GetHashCode();
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
			{
				num ^= this.MGEKAIONENB.GetHashCode();
			}
			num ^= (int)this.gCLJEPABAEBCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E574 RID: 58740 RVA: 0x0026592C File Offset: 0x00263B2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E575 RID: 58741 RVA: 0x00265934 File Offset: 0x00263B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E576 RID: 58742 RVA: 0x00265940 File Offset: 0x00263B40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.QueuePosition != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.QueuePosition);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
			{
				output.WriteRawTag(210, 9);
				output.WriteMessage(this.EPPNHJCNFCI);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
			{
				output.WriteRawTag(242, 22);
				output.WriteMessage(this.MGEKAIONENB);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
			{
				output.WriteRawTag(130, 41);
				output.WriteMessage(this.BMOCCJHIFAK);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
			{
				output.WriteRawTag(154, 110);
				output.WriteMessage(this.TrainPartyEvent);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E577 RID: 58743 RVA: 0x00265A18 File Offset: 0x00263C18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.QueuePosition != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.QueuePosition);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.TrainPartyEvent);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.EPPNHJCNFCI);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.BMOCCJHIFAK);
			}
			if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.MGEKAIONENB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E578 RID: 58744 RVA: 0x00265ACC File Offset: 0x00263CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyHandlePendingActionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.QueuePosition != 0U)
			{
				this.QueuePosition = other.QueuePosition;
			}
			TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase gcljepabaebcase = other.GCLJEPABAEBCase;
			if (gcljepabaebcase <= TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
			{
				if (gcljepabaebcase != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
				{
					if (gcljepabaebcase == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
					{
						if (this.MGEKAIONENB == null)
						{
							this.MGEKAIONENB = new COAOOLIBOHF();
						}
						this.MGEKAIONENB.MergeFrom(other.MGEKAIONENB);
					}
				}
				else
				{
					if (this.EPPNHJCNFCI == null)
					{
						this.EPPNHJCNFCI = new ICMFJIEIEBM();
					}
					this.EPPNHJCNFCI.MergeFrom(other.EPPNHJCNFCI);
				}
			}
			else if (gcljepabaebcase != TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
			{
				if (gcljepabaebcase == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
				{
					if (this.TrainPartyEvent == null)
					{
						this.TrainPartyEvent = new TrainPartyEventPendingAction();
					}
					this.TrainPartyEvent.MergeFrom(other.TrainPartyEvent);
				}
			}
			else
			{
				if (this.BMOCCJHIFAK == null)
				{
					this.BMOCCJHIFAK = new HPIPKEEKBDO();
				}
				this.BMOCCJHIFAK.MergeFrom(other.BMOCCJHIFAK);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E579 RID: 58745 RVA: 0x00265BD8 File Offset: 0x00263DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E57A RID: 58746 RVA: 0x00265BE4 File Offset: 0x00263DE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 1234U)
				{
					if (num == 56U)
					{
						this.QueuePosition = input.ReadUInt32();
						continue;
					}
					if (num == 1234U)
					{
						ICMFJIEIEBM icmfjieiebm = new ICMFJIEIEBM();
						if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.EPPNHJCNFCI)
						{
							icmfjieiebm.MergeFrom(this.EPPNHJCNFCI);
						}
						input.ReadMessage(icmfjieiebm);
						this.EPPNHJCNFCI = icmfjieiebm;
						continue;
					}
				}
				else
				{
					if (num == 2930U)
					{
						COAOOLIBOHF coaoolibohf = new COAOOLIBOHF();
						if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.MGEKAIONENB)
						{
							coaoolibohf.MergeFrom(this.MGEKAIONENB);
						}
						input.ReadMessage(coaoolibohf);
						this.MGEKAIONENB = coaoolibohf;
						continue;
					}
					if (num == 5250U)
					{
						HPIPKEEKBDO hpipkeekbdo = new HPIPKEEKBDO();
						if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.BMOCCJHIFAK)
						{
							hpipkeekbdo.MergeFrom(this.BMOCCJHIFAK);
						}
						input.ReadMessage(hpipkeekbdo);
						this.BMOCCJHIFAK = hpipkeekbdo;
						continue;
					}
					if (num == 14106U)
					{
						TrainPartyEventPendingAction trainPartyEventPendingAction = new TrainPartyEventPendingAction();
						if (this.gCLJEPABAEBCase_ == TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase.TrainPartyEvent)
						{
							trainPartyEventPendingAction.MergeFrom(this.TrainPartyEvent);
						}
						input.ReadMessage(trainPartyEventPendingAction);
						this.TrainPartyEvent = trainPartyEventPendingAction;
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005ABF RID: 23231
		private static readonly MessageParser<TrainPartyHandlePendingActionCsReq> _parser = new MessageParser<TrainPartyHandlePendingActionCsReq>(() => new TrainPartyHandlePendingActionCsReq());

		// Token: 0x04005AC0 RID: 23232
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005AC1 RID: 23233
		public const int QueuePositionFieldNumber = 7;

		// Token: 0x04005AC2 RID: 23234
		private uint queuePosition_;

		// Token: 0x04005AC3 RID: 23235
		public const int TrainPartyEventFieldNumber = 1763;

		// Token: 0x04005AC4 RID: 23236
		public const int EPPNHJCNFCIFieldNumber = 154;

		// Token: 0x04005AC5 RID: 23237
		public const int BMOCCJHIFAKFieldNumber = 656;

		// Token: 0x04005AC6 RID: 23238
		public const int MGEKAIONENBFieldNumber = 366;

		// Token: 0x04005AC7 RID: 23239
		private object gCLJEPABAEB_;

		// Token: 0x04005AC8 RID: 23240
		private TrainPartyHandlePendingActionCsReq.GCLJEPABAEBOneofCase gCLJEPABAEBCase_;

		// Token: 0x02001ECF RID: 7887
		public enum GCLJEPABAEBOneofCase
		{
			// Token: 0x04006A96 RID: 27286
			None,
			// Token: 0x04006A97 RID: 27287
			TrainPartyEvent = 1763,
			// Token: 0x04006A98 RID: 27288
			EPPNHJCNFCI = 154,
			// Token: 0x04006A99 RID: 27289
			BMOCCJHIFAK = 656,
			// Token: 0x04006A9A RID: 27290
			MGEKAIONENB = 366
		}
	}
}
